import Vue from 'vue';
import Router from 'vue-router';
import UserView from '@/components/page/UserView';
import ErrorView from '@/components/page/ErrorView';

Vue.use(Router);

export default new Router({
  routes: [{
    path: '/user',
    name: 'user',
    component: UserView,
  }, {
    path: '/error',
    name: 'error',
    component: ErrorView,
  }],
});
